<?php echo $form->errorSummary($model); ?>
<table width="100%" cellpadding="4" cellspacing="1" class="tab">
    <tbody class="tabbar general">
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_name'); ?>:</td>
            <td><?php echo $form->textField($model, 'video_name', array('size' => 40, 'maxlength' => 40)); ?>
                <?php echo $form->error($model, 'video_name'); ?></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_alias'); ?>:</td>
            <td><?php echo $form->textField($model, 'video_alias', array('size' => 40, 'maxlength' => 40)); ?><?php echo $form->error($model, 'video_alias'); ?></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_directors'); ?>:</td>
            <td><?php echo $form->textField($model, 'video_directors', array('size' => 40, 'maxlength' => 40)); ?>
                <?php echo $form->error($model, 'video_directors'); ?></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_actors'); ?>:</td>
            <td><?php echo $form->textField($model, 'video_actors', array('size' => 40, 'maxlength' => 40)); ?><?php echo $form->error($model, 'video_actors'); ?></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_release'); ?>:</td>
            <td><?php echo $form->textField($model, 'video_release', array('size' => 40, 'maxlength' => 40)); ?>
                <?php echo $form->error($model, 'video_release'); ?></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_quality'); ?>:</td>
            <td><?php echo $form->radioButtonList($model, 'video_quality', $model->qualityData, array('class' => 'checkbox', 'separator' => '')); ?>
                <?php echo $form->error($model, 'video_quality'); ?></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_dialog'); ?>:</td>
            <td><?php echo $form->checkBoxList($model, 'video_dialog', $model->dialogArray, array('class' => 'checkbox', 'separator' => '')); ?>
                <?php echo $form->error($model, 'video_dialog'); ?></td>
        </tr>

        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_region'); ?>:</td>
            <td><?php echo $form->checkBoxList($model, 'video_region', $model->regionArray, array('class' => 'checkbox', 'separator' => '')); ?>
                <?php echo $form->error($model, 'video_region'); ?></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_play'); ?>:</td>
            <td><div><?php echo $form->dropDownList($model, 'video_allow_play', $model->playArray, array('class' => 'checkbox', 'separator' => '')); ?>
            <?php echo $form->error($model, 'video_allow_play'); ?></div><div><?php echo $form->dropDownList($model, 'video_play_level', $model->userGroup); ?>
            <?php echo $form->error($model, 'video_play_level'); ?></div></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_down'); ?>:</td>
            <td><div><?php echo $form->dropDownList($model, 'video_allow_down', $model->playArray, array('class' => 'checkbox', 'separator' => '')); ?>
            <?php echo $form->error($model, 'video_allow_down'); ?></div><div><?php echo $form->dropDownList($model, 'video_down_level', $model->userGroup); ?>
            <?php echo $form->error($model, 'video_down_level'); ?></div></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_play_money'); ?>:</td>
            <td><?php echo $form->textField($model, 'video_play_money'); ?>
            <?php echo $form->error($model, 'video_play_money'); ?></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_player_alias'); ?>:</td>
            <td><?php echo $form->checkBoxList($model, 'video_player_alias', $model->getPlayer(), array('separator' => '', 'class' => 'radio')); ?><?php echo $form->error($model, 'video_player_alias'); ?></td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_thumb'); ?>:</td>
            <td>
                <?php echo $form->fileField($model, 'video_thumb'); ?>
            </td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_poster'); ?>:</td>
            <td>
                <?php echo $form->fileField($model, 'video_poster'); ?>
            </td>
        </tr>
        <tr class="row">
            <td width="100" class="align-right"><?php echo $form->labelEx($model, 'video_details'); ?>:</td>
            <td><?php echo $form->textArea($model, 'video_details', array('cols' => '80')); ?><?php echo $form->error($model, 'video_details'); ?></td>
        </tr>
    </tbody>
    <tr class="rows">
        <td class="rows"></td>
        <td class="rows"><?php echo CHtml::submitButton(Yii::t('app', '保存视频信息'), array('class' => 'btn')); ?></td>
    </tr>
</table>
<?php echo $form->hiddenField($model, 'video_id');?>